<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
require_once "keygen.php";
require_once "generator_dk.php";
require __DIR__ . "/../vendor/autoload.php";
(new think\App())->http->run();
$coupon_model = new app\massage\model\CouponRecord();
$goods_model = new app\massage\model\CouponService();
$data = $coupon_model->alias("a")->join("massage_service_coupon_goods b", "a.id = b.coupon_id")->where("a.status", "in", [3])->where("b.type", "=", 1)->limit(10000)->group("b.id")->column("b.id");
$goods_model->where("id", "in", $data)->delete();

?>